import { httpPost, httpPut, httpGet } from "../utils/request";

// 新增签约记录
export function addContractApi(data) {
    return httpPost('/signs/add', data)
}
// 签约支付
export function payContractApi(data) {
    return httpPost('/signs/payment', data)
}
// 修改签约状态
export function updateStateApi(data) {
    return httpPut('/signs/updateState', data)
}
// 获取一个完整签约详情
export function getContractDetailApi(data) {
    return httpGet('/signs/fullDetail', data)
}